package edu.ucdavis.gwt.gis.client.toolbar.menu;

import com.google.gwt.user.client.ui.Image;

import edu.ucdavis.gwt.gis.client.extras.LogoutPopup;
import edu.ucdavis.gwt.gis.client.toolbar.button.LogoutButton;

public class LogoutMenu extends ToolbarMenu {

	private LogoutButton mapInfo = new LogoutButton(); 
	
	public LogoutMenu() {
		addItem(mapInfo);
	}
	
	@Override
	public Image getIcon() {
		return null;
	}

	@Override
	public String getText() {
		return "Logout";
	}
	
	public LogoutPopup LogoutPopup() {
		return mapInfo.getPopup();
	}

}
